package com.bobo.web.provider.util.commutils;

/**
 * Created by wei.song on 2017/8/19.
 */
public class NumberUtils {

    /**
     * 是否是正长整形
     * @param number
     * @return
     */
    public static boolean isPositive(Long number){
        if (number == null) return false;
        return number > 0L;
    }

    /**
     * 是否是正整数
     * @param number
     * @return
     */
    public static boolean isPositive(Integer number){
        if (number == null) return false;
        return number > 0L;
    }

}
